package com.weiaibenpao.demo.chislim.api;

/**
 * Created by wlx on 2017/12/5.
 */

public class Url {
    public static final String BASE_URL = "http://www.djq42195.com/";
//    public static final String BASE_URL="http://101.132.38.94:8761/";
    public static final String SERVICE_COMMON ="common/";
    public static final String SERVICE_SPORT ="sports/";

    //我的界面数据
    public static final String ME_FRAGMENT=SERVICE_COMMON+"user/getMineInfo";

    //发送短信
    public static final String SEED_SMS=SERVICE_COMMON+"user/sendCode";

    public static final String BIND_PHONE=SERVICE_COMMON+"user/bindPhone";
    //登录
    public static final String LOGIN=SERVICE_COMMON+"user/loginByMessageCode";

    //第三方登录
    public static final String LOGIN_THREE=SERVICE_COMMON+"user/loginByThreeType";
    //
    //  首页的常规，中国跑的数据和选择行政区时候返回数据
    public static final String RUN_SPORT=SERVICE_SPORT+"index/getIndexUserSportsInfo";
    //中国跑排行榜以及个人的排名
    public static final String RANK_LIST=SERVICE_SPORT+"index/findRankList";
    //展示用户的中国跑历史记录
    public static final String RECORD_LIST=SERVICE_SPORT+"index/findHistorySports";
    //运动结束后的上传接口 所有跑步跑完后，数据传输 ，（参数都没有强制必传）
    public static final String SPORTS=SERVICE_SPORT+"sports/postUserSportsInfo";
    //七牛
    public static final String TOKEN_URL =BASE_URL+SERVICE_COMMON+"user/uptoken";
    // 发说说
    public static final String ADD_HUNMOR = SERVICE_COMMON+"humor/addHumor";
    public static final String DELETE_HUNMOR =SERVICE_COMMON+ "humor/deleteHumor";

//进入跑步选择页面时 查询正在进行的活动
    public static final String FIND_MARATHON = SERVICE_SPORT+"marathon/findMarathonActivity";


    public static final String GET_MOMENT_DETAILS=SERVICE_COMMON+"comment/getDetailHumor";
    public static final String GET_LATEST_MOMENTS=SERVICE_COMMON+"humor/getNewHumorPage";
    public static final String GET_CARED_MOMENTS=SERVICE_COMMON+"humor/getCaresHumorPage";//获取关注的人的动态
    public static final String ADD_COMMENT=SERVICE_COMMON+"comment/addComment";
    public static final String DELETE_COMMENT=SERVICE_COMMON+"comment/deleteComment";
    public static final String REPLY_COMMENT=SERVICE_COMMON+"comment/replyComment";
    public static final String GET_MESSAGE_LIST=SERVICE_COMMON+"realInfo/getUserRealInfoPage";
    public static final String CLEAR_ALL_MESSAGE=SERVICE_COMMON+"/realInfo/deleteRealInfo";
    public static final String GET_LIKER_LIST =SERVICE_COMMON+"praise/selectPraiseList";
    public static final String DO_LIKE_OR_UNLIKE =SERVICE_COMMON+"praise/praiseHumor";//点赞和取消赞（公用一个接口）
    public static final String REPORT=SERVICE_COMMON+"user/addTips";//举报 用户/说说  0表示举报说说 1表示举报用户

    //用信息修改
    public static final String USER_INFO=SERVICE_COMMON+"user/evpiMessage";
    public static final String PIC_URL = "http://oypxg8l6o.bkt.clouddn.com/";
    //官方赛事
    public static final String MARATHON_URL =SERVICE_SPORT+ "marathon/findMarathonByIsView";
    //我的赛事
    public static final String MY_MARATHON_URL = SERVICE_SPORT+"marathon/findMyMarathon";

    //勋章
    public static final String MEDAL_LIST=SERVICE_SPORT+"index/getPersonBadge";

    //官方赛事
    public static final String DJQ_MARATHON=SERVICE_SPORT+"marathon/findMarathonByIsView";

    //旅游
    public static final String DJQ_TRAVEL =SERVICE_COMMON+ "find/getTravelList";

    //商城
    public static final String DJQ_MALL =SERVICE_COMMON+ "find/getTreadmillList";

    //运动记录
    public static final String DSPORT_HISTORY =SERVICE_SPORT+ "sports/getMonthSportByUserId";
    //fans/updateAttention关注
    public static final String FANS_ATTENTION = SERVICE_COMMON + "fans/updateAttention";
    //humor/getUserHumorPage个人详情接口
    public static final String HUMOR_USERHUMOR = SERVICE_COMMON + "humor/getUserHumorPage";
    //    /fans/getFansList粉丝列表分页接口
    public static final String FANS_LIST = SERVICE_COMMON + "fans/getFansList";
    //fans/getAttentionList关注列表分页接口
    public static final String ATTENTION_LIST = SERVICE_COMMON + "fans/getAttentionList";
    ///user/updatePhone修改手机号
    public static final String UPDATE_PHONE = SERVICE_COMMON + "user/updatePhone";
    //POST /user/feedback
    public static final String FEEDBACK = SERVICE_COMMON + "user/feedback";

}
